package com.ywk.pattern._23_command;

public class Main {
    public static void main(String[] args) {
        Barbecuer boy = new Barbecuer();
        BakeMuttonCommand bakeMuttonCommand = new BakeMuttonCommand(boy);
        BakeMuttonCommand bakeMuttonCommand1 = new BakeMuttonCommand(boy);
        BakeChickenWingsCommand bakeChickenWingsCommand = new BakeChickenWingsCommand(boy);
        Waiter girl = new Waiter();
        girl.setCommand(bakeMuttonCommand);
        girl.setCommand(bakeMuttonCommand1);
        girl.setCommand(bakeChickenWingsCommand);
        girl.Notify();
    }
}
